package com.atguigu.tingshu.common.constant;

/**
 * @author sun
 */
public class SystemConstant {

    //专辑付费类型  0101-免费、0102-vip免费、0103-付费
    /**
     * 免费
     */
    public static final String ALBUM_PAY_TYPE_FREE = "0101";
    /**
     * vip免费
     */
    public static final String ALBUM_PAY_TYPE_VIPFREE = "0102";
    /**
     * 付费
     */
    public static final String ALBUM_PAY_TYPE_REQUIRE = "0103";

    //专辑价格类型 0201-单集 0202-整专辑
    /**
     * 单集
     */
    public static final String ALBUM_PRICE_TYPE_ONE = "0201";
    /**
     * 整专辑
     */
    public static final String ALBUM_PRICE_TYPE_ALL = "0202";

    //专辑状态 0301-审核通过 0302-审核不通过
    /**
     * 审核通过
     */
    public static final String ALBUM_STATUS_PASS = "0301";
    /**
     * 审核不通过
     */
    public static final String ALBUM_STATUS_NO_PASS = "0302";

    //专辑统计 0401-播放量 0402-订阅量 0403-购买量 0403-评论数
    /**
     * 播放量
     */
    public static final String ALBUM_STAT_PLAY = "0401";
    /**
     * 订阅量
     */
    public static final String ALBUM_STAT_SUBSCRIBE = "0402";
    /**
     * 购买量
     */
    public static final String ALBUM_STAT_BROWSE = "0403";
    /**
     * 评论数
     */
    public static final String ALBUM_STAT_COMMENT = "0404";

    //声音状态 0501-审核通过 0502"-审核不通过
    /**
     * 审核通过
     */
    public static final String TRACK_STATUS_PASS = "0501";
    /**
     * 审核不通过
     */
    public static final String TRACK_STATUS_NO_PASS = "0502";

    //声音来源 0601-用户原创 0602-上传
    /**
     * 用户原创
     */
    public static final String TRACK_SOURCE_USER = "0601";
    /**
     * 上传
     */
    public static final String TRACK_SOURCE_UPLOAD = "0602";

    // 声音统计 0701-播放量 0702-收藏量 0703-点赞量 0704-评论数
    /**
     * 播放量
     */
    public static final String TRACK_STAT_PLAY = "0701";
    /**
     * 收藏量
     */
    public static final String TRACK_STAT_COLLECT = "0702";
    /**
     * 点赞量
     */
    public static final String TRACK_STAT_PRAISE = "0703";
    /**
     * 评论数
     */
    public static final String TRACK_STAT_COMMENT = "0704";

    //用户状态 0801-正常 0802-锁定
    /**
     * 正常
     */
    public static final String USER_STATUS_NORMAL = "0801";
    /**
     * 锁定
     */
    public static final String USER_STATUS_LOCK = "0802";

    //订单状态 0901-正常 0902-已支付 0903-已取消
    /**
     * 未支付
     */
    public static final String ORDER_STATUS_UNPAID = "0901";
    /**
     * 已支付
     */
    public static final String ORDER_STATUS_PAID = "0902";
    /**
     * 已取消
     */
    public static final String ORDER_STATUS_CANCEL = "0903";

    //订单付款项目类型 1001-专辑 1002-声音 1003-vip会员
    /**
     * 专辑
     */
    public static final String ORDER_ITEM_TYPE_ALBUM = "1001";
    /**
     * 声音
     */
    public static final String ORDER_ITEM_TYPE_TRACK = "1002";
    /**
     * 会员
     */
    public static final String ORDER_ITEM_TYPE_VIP = "1003";

    //订单支付方式 1101-微信 1102-支付宝 1103-账户余额
    /**
     * 微信
     */
    public static final String ORDER_PAY_WAY_WEIXIN = "1101";
    /**
     * 支付宝
     */
    public static final String ORDER_PAY_WAY_ALIPAY = "1102";
    /**
     * 账户余额
     */
    public static final String ORDER_PAY_ACCOUNT = "1103";

    //账号交易类型 1201-充值 1202-锁定 1203-解锁 1204-消费
    /**
     * 充值
     */
    public static final String ACCOUNT_TRADE_TYPE_DEPOSIT = "1201";
    /**
     * 锁定
     */
    public static final String ACCOUNT_TRADE_TYPE_LOCK = "1202";
    /**
     * 解锁
     */
    public static final String ACCOUNT_TRADE_TYPE_UNLOCK = "1203";
    /**
     * 消费
     */
    public static final String ACCOUNT_TRADE_TYPE_MINUS = "1204";

    //支付类型 1301-订单 1302-充值
    /**
     * 订单
     */
    public static final String PAYMENT_TYPE_ORDER = "1301";
    /**
     * 充值
     */
    public static final String PAYMENT_TYPE_RECHARGE = "1302";

    //支付表支付状态 1401-未支付 1402-已支付
    /**
     * 未支付
     */
    public static final String PAYMENT_STATUS_UNPAID = "1401";
    /**
     * 已支付
     */
    public static final String PAYMENT_STATUS_PAID = "1402";

    //订单减免类型 1405-专辑折扣 1406-VIP服务折
    /**
     * 专辑普通折扣
     */
    public static final String ORDER_DERATE_ALBUM_DISCOUNT = "1405";
    /**
     * VIP服务折
     */
    public static final String ORDER_DERATE_VIP_SERVICE_DISCOUNT = "1406";
    /**
     * JWT token公钥
     */
    public static final String JWT_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAv5DyP6RS" +
            "dIjGla0XLEjJqc8UaC0n+T2qh/GCSCGfBFNyTmstOBmax1Gz7CjHCJYkM7n" +
            "Ea7jb9RdaSngxiodtTnXRxKwZphutL1mboDCSA02qhkRHDTQ7+2YcvNFiGKj8" +
            "6drxM4ZZcGQTS+9EIuSKvs06ao6O2sltc+smYoPA8vM5QPl4Ny+q4dKiMjYc6w5Jl" +
            "fG5Aq3uGhoCf5S7kPwfdXOKVdWN0uhyAi+ohl3qZ65jEfIXKa3HF0jgC9F9zW/9KKDKF" +
            "h2qbvV3UBDisZxupLiZqJPzedAs3MBosNKoBTAkiASi5HnS37g3zaxr865dmrzCUDrgXFHU" +
            "xlQ+i3oA/FXaxr1eeISHn/qxzYg5gj+Jnh9zlBAK8vkhapX15aPlOtUMVMx50BHMy8jdsH0/4oy" +
            "r2EJriXutXB/vvc8MIyIHDJUx2CcpjOFiLEz777Ij3+NMQxZzKly2symd5Gbr6WZtFcX3LSe4WaFpu3" +
            "iPyCtIWumcOIVJICnYGDc+I8IpAgMBAAE=-----END PUBLIC KEY-----";
    /**
     * Jwt 载荷中存储的用户id的 键
     */
    public static final String JWT_CLEAMS_USER_ID = "userId";
    /**
     * Jwt 载荷中存储的用户昵称的 键
     */
    public static final String JWT_CLEAMS_USER_NAME = "nickName";

    public static final String RECHARGE_CONTENT = "用户充值";
}
